using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace WebControl
{
    public partial class VehicleSearchWebTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Vehicle1.BranchIdLocationList = "638|2264|2266";
                Vehicle1.CustomizedFilterCode = "";
                Vehicle1.LoadData();
            }

            string strQ = Request.ServerVariables["QUERY_STRING"].ToString();

            RegisterClientScript();
        }

        private void RegisterClientScript()
        {
            HtmlGenericControl Include;
            Include = new HtmlGenericControl("link");
            Include.Attributes.Add("type", "text/css");
            Include.Attributes.Add("href", "App_Themes/Default/default.css");
            this.Page.Header.Controls.Add(Include);

        }
    }
}
